package com.hjy.websocket.websocketservice;


import com.hjy.websocket.domain.event.InfoBackEvent;
import com.hjy.websocket.domain.WbsocketResponseBody;
import com.hjy.websocket.domain.WebSocketRequest;
import org.springframework.stereotype.Component;

@Component
public interface IICWebSocketService   {
     //异步请求
     void sendMessageAsynchronous(WebSocketRequest webSocketRequest  ) ;
     //同步请求
     WbsocketResponseBody sendMessageSynchronous(WebSocketRequest webSocketRequest ) ;
     // 同步请求 传 超时时间
     WbsocketResponseBody sendMessageSynchronous(WebSocketRequest webSocketRequest ,int timeOut) ;
}
